package com.bss.beans;

public class Attendent {
	
	private int iAttendentUId;
	private int iPatientId;
	private String sName;
	private String sRelationship;
	private int iTransactionId;
	private String sIdType;
	private String sIdNo;
	private Boolean BIsPresent;
	public Boolean getBIsPresent() {
		return BIsPresent;
	}
	public void setBIsPresent(Boolean isPresent) {
		BIsPresent = isPresent;
	}
	public String getSIdType() {
		return sIdType;
	}
	public void setSIdType(String idType) {
		sIdType = idType;
	}
	public String getSIdNo() {
		return sIdNo;
	}
	public void setSIdNo(String idNo) {
		sIdNo = idNo;
	}
	public int getIAttendentUId() {
		return iAttendentUId;
	}
	public void setIAttendentUId(int attendentUId) {
		iAttendentUId = attendentUId;
	}
	public int getIPatientId() {
		return iPatientId;
	}
	public void setIPatientId(int patientId) {
		iPatientId = patientId;
	}
	public String getSName() {
		return sName;
	}
	public void setSName(String name) {
		sName = name;
	}
	public String getSRelationship() {
		return sRelationship;
	}
	public void setSRelationship(String relationship) {
		sRelationship = relationship;
	}
	public int getITransactionId() {
		return iTransactionId;
	}
	public void setITransactionId(int transactionId) {
		iTransactionId = transactionId;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((sName == null) ? 0 : sName.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Attendent other = (Attendent) obj;		
		if (sName == null) {
			if (other.sName != null)
				return false;
		} else if (!sName.equals(other.sName))
			return false;
		return true;
	}
	
	

}
